public class Main3 {
    public static void main(String[] args) {
        String[] a = {"A", "E", "I"};
        String[] b = {"O", "U"};
        java.util.List list = new java.util.ArrayList(java.util.Arrays.asList(a));
        list.addAll(java.util.Arrays.asList(b));
        Object[] c = list.toArray();
        System.out.println(java.util.Arrays.toString(c));
    }
}
